<extend name="Public/layout"/>
<block name="body">
    <div class="sub_banner" style="background:url(__IMG__/index_06.png)"></div>
    <div class="container1200"  style="margin-top:70px;">
        <notempty name="navs">

        <div class="title aos-init aos-animate" data-aos="fade-up" data-aos-anchor-placement="top-bottom" data-aos-delay="50">
            <h3>{$category.title}</h3>
            <span>{$category.description}</span>
        </div>

        </notempty>
        <include file="Public/nav"/>
        <div class="articleTitle">{$info.title}</div>
        <div class="articleTime">日期：{$info.update_time|date='Y-m-d',###}</div>
        <div class="articleBox">
           {$info.content}
        </div>
        <div class="pageUp">
            <article:prev name="prev" info="info">
                <div>
                    上一篇：
                    <if condition="$prev">
                        <a href="{:U('Article/detail',['id'=>$prev['id']])}">{$prev.title}</a>
                        <else/>
                        没有了
                    </if>
                </div>
            </article:prev>
            <article:next name="next" info="info">
                <div>
                    下一篇：
                    <if condition="$next">
                        <a href="{:U('Article/detail',['id'=>$next['id']])}">{$next.title}</a>
                        <else/>
                        没有了
                    </if>
                </div>
            </article:next>
        </div>
    </div>

</block>